package com.zhkjnet.zhyy.entity;

import java.util.Date;

/**
 * 油卡充值
 */
public class OilRecharge {

    private Long id;

    /**
     * 充值金额，分钱
     */
    private Long money;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 充值状态
     */
    private RechargeStatus status;

    /**
     * 油卡，外键cardId
     */
    private OilCard card;

    /**
     * true成功
     * false失败
     */
    private Boolean apiResult;

    /**
     * 订单编号
     */
    private String orderNo;
    
    /**
     * 油卡卡号
     */
    private String cardNo;
    
    /**
     * 用户编号
     * 
     */
    private Long userId;
    
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getMoney() {
        return money;
    }

    public void setMoney(Long money) {
        this.money = money;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public RechargeStatus getStatus() {
        return status;
    }

    public void setStatus(RechargeStatus status) {
        this.status = status;
    }

    public OilCard getCard() {
        return card;
    }

    public void setCard(OilCard card) {
        this.card = card;
    }

    public Boolean getApiResult() {
        return apiResult;
    }

    public void setApiResult(Boolean apiResult) {
        this.apiResult = apiResult;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

	public String getCardNo() {
		return cardNo;
	}

	public void setCardNo(String cardNo) {
		this.cardNo = cardNo;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

}
